package com.tyk.bookstore.back.product.repository;

import com.tyk.bookstore.back.common.dal.mapper.IMapper;
import com.tyk.bookstore.back.product.model.dto.Praise4TaskDto;
import com.tyk.bookstore.back.product.model.entity.BookPraiseDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author tyk
 * @description 书籍点赞
 */
@Mapper
public interface BookPraiseRepository extends IMapper<BookPraiseDo> {

    /**
     * 获取各书籍点赞人数
     */
    List<Praise4TaskDto> selectPraiseDtoList();
}
